package com.frame.auth.mvc.dao.mapper;

import com.frame.auth.mvc.dao.pojo.CloudAuthResource;
import com.frame.auth.mvc.dao.pojo.CloudAuthResourceExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CloudAuthResourceMapper {
    long countByExample(CloudAuthResourceExample example);

    int deleteByExample(CloudAuthResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CloudAuthResource record);

    int insertSelective(CloudAuthResource record);

    List<CloudAuthResource> selectByExample(CloudAuthResourceExample example);

    CloudAuthResource selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CloudAuthResource record, @Param("example") CloudAuthResourceExample example);

    int updateByExample(@Param("record") CloudAuthResource record, @Param("example") CloudAuthResourceExample example);

    int updateByPrimaryKeySelective(CloudAuthResource record);

    int updateByPrimaryKey(CloudAuthResource record);
}